package com.gzc.pm.ro;

import java.util.List;

import com.gzc.pm.bean.CPKBean;
import com.gzc.pm.dao.CPKDao;

public class CPKRo {
	
	public List<CPKBean> getListByDate(String startDate, String endDate){
		if(startDate == ""){
			startDate = null;
		}else{
			startDate = startDate.replaceAll("-", "");
		}
		if(endDate == ""){
			endDate = null;
		}else{
			endDate = endDate.replaceAll("-", "");
		}
		CPKDao dao = new CPKDao();
		return dao.getListByDate(startDate, endDate);
	}
	
}
